import java.io.Serializable;

public class Student implements Serializable {
	String name;
	String id;
	String grade;
	String classroom;
	String major;
	Student(String name,String id,String grade,String classroom,String major)
	{
		this.name=name;
		this.id=id;
		this.grade=grade;
		this.classroom=classroom;
		this.major=major;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public String getClassroom() {
		return classroom;
	}
	public void setClassroom(String classroom) {
		this.classroom = classroom;
	}
	@Override
	public String toString() {
		return "Student [name=" + name + ", id=" + id + ", grade=" + grade + ", classroom=" + classroom + ", major="
				+ major + "]";
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}

}
